﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;

namespace LimaLims.Core.Entity.Basic
{
    /// <summary>
    /// 模板管理
    /// </summary>
    [Comment("模板管理")]
    public class PrintTemplate : DEntityTenant
    {
        /// <summary>
        /// 模板名称
        /// </summary>
        [Comment("模板名称")]
        [Required, MaxLength(20)]
        public string Name { get; set; }

        /// <summary>
        /// 模板文件
        /// </summary>
        [Comment("模板文件")]
        public string TemplateFile { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Comment("备注"), MaxLength(100)]
        public string Remark { get; set; }
    }
}
